var Mock = require('mockjs');

exports.response = function(req, res) {

	return Mock.mock({
		"msg": "OK",
		"code": 0,
		"data": {
			"email": "qqq111@123.com",
			"mobile": 13862986762,
			"name": "thfx",
			"username": "admin",
			"authorityName": "管理员",
			"orgName": "华泰资管子公司",
			"createDate": "20170830000000",
			"authorities": [
				"ROLE_ADMIN", "ROLE_TRADERSUPERVISOR", "ROLE_USER", "ROLE_TRADVIEWER"
			],
			"menus": [
				{
					"menuCode": "realtime",
					"menuText": "实时成本监控"
				}, {
					"menuCode": "instance",
					"menuText": "实例操作流水"
				}
			]
		}
	})
}
